package com.cty.pointcut;


import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
public class MyPc {

    @Pointcut("execution(* com.cty.service.Impl.*.*(..))")
    public void pc(){
    }

    @Pointcut("execution(* com..Impl.*.*(..))")
    public void MyPc() {

    }
}
